#pragma once
#include "basic/types.h"

/*
48 8B F1 8B 0D ?? ?? ?? ?? 41 BF 84 62 00 00 48 C1 EE 36 48 8B 2C C8 41 38 3C 2F
*/
constexpr uint32 get_object_check1 = 0x6284;
constexpr uint32 get_object_check2 = 0x6340;

constexpr uint32 get_index_const1 = 0xD6D018F5;
constexpr uint32 get_index_const2 = 0xA2AA033B;
constexpr uint64 get_index_const3 = 0x400000000000000;

/*
8B D0 48 3B DF B8 22 00 00 00 B9 FF FF FF FF 0F 45 C1 03 D0
 */
constexpr uint32 backpack_item_id_arr_offset = 0x15418;
constexpr uint32 container_item_id_arr_offset = 0x6D8;

/*
主背包大小 r1(player+14022)
48 85 C0 74 ?? 83 FB FF 75
*/
constexpr uint32 backpack_size_offset = 0x14022;

/*
48 89 58 08 45 33 C9 48 89 70 10
*/
constexpr uint32 buff_arr_offset = 0x898;
constexpr uint32 buff_arr_size_offset = 0x8A0;
constexpr uint32 buff_offset = 0xA8;

/*
BA 01 00 00 00 C1 E8 13 A8 01
*/
constexpr uint32 status_offset = 0x11C58;
